<template>
	<div class="vue-admin-beautiful-wrapper" :class="classObj">
		<!--横向布局-->
		<div class="vab-main main-padding" style="padding-left: 50px;padding-top: 50px;">
			<SysFileList :isChoice="true" :isChoiceMany="false" :onlyImage="onlyImage"></SysFileList>
		</div>
		<el-backtop />
	</div>
</template>

<script>
	import common from "@/common/common.js";
	import SysFileList from "@/System/SysFileList";

	export default {
		name: "SysFileListChoice",
		mixins: [common.baseVM],
		components: {
			SysFileList
		},
		computed: {
			classObj() {
				return {
					mobile: this.device === "mobile",
				};
			}
		},
		watch: {},
		props: {},
		data() {
			return {
				onlyImage: false
			}
		},
		created() {
			var query = this.getQuery();
			this.onlyImage = query["onlyImage"] == "true";
		},
		methods: {}
	}
</script>
<style scoped="scoped">
</style>
